package com.bigShen.pattern.proxy.statical;

import com.bigShen.pattern.proxy.LiLong;

/**
 * @author: lei.shen
 * @date: 2018/10/2
 */
public class Friend {

    private LiLong liLong;

    public Friend(LiLong liLong) {
        this.liLong = liLong;
    }

    public void helpBrotherFindLove() {

        System.out.println("Friend 问身边朋友,亲戚, 有没有肤白貌美大长腿的适龄待嫁女青年。");
        // 被代理人,专注于自己的事情
        liLong.findLove();
        System.out.println(liLong);
        System.out.println("Friend 介绍对象成了，请喝酒!");

    }


}
